﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace QLNHK.DANHMUC
{
	/// <summary>
	/// Summary description for FrmDeleteResultDialog.
	/// </summary>
	public class FrmDeleteResultDialog : System.Windows.Forms.Form
	{
		public static string[] strUndelete; 
		public static string[] strDeleteSuccess; 
		private System.Windows.Forms.Panel panel1;
		private Infragistics.Win.Misc.UltraGridBagLayoutManager ultraGridBagLayoutManager1;
		private System.Data.DataSet dsResult;
		private System.Data.DataTable dtDeleteSuccess;
		private System.Data.DataTable dtUnDelete;
		private System.Data.DataColumn dataColumn1;
		private System.Data.DataColumn dataColumn2;
        private Infragistics.Win.Misc.UltraButton btnDong;
        public Panel panel2;
        public Infragistics.Win.UltraWinTabControl.UltraTabControl tabMain;
		private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage1;
        private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl1;
        public Infragistics.Win.UltraWinGrid.UltraGrid UGDeleteSuccess;
        private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl2;
        public Infragistics.Win.UltraWinGrid.UltraGrid UGUnDelete;
        public Infragistics.Win.Misc.UltraLabel lblLuuY1;
        public Infragistics.Win.Misc.UltraLabel lblLuuY2;
		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
		private System.ComponentModel.IContainer components;

        public string Caption_Grid
        {
            set
            {
                this.UGDeleteSuccess.DisplayLayout.Bands[0].Columns[0].Header.Caption = value;
                this.UGUnDelete.DisplayLayout.Bands[0].Columns[0].Header.Caption = value;
            }
        }

		public FrmDeleteResultDialog()
		{
			InitializeComponent();
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            this.components = new System.ComponentModel.Container();
            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("tb_DeleteSuccess", -1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("Ten");
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmDeleteResultDialog));
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("tb_UnDelete", -1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("Ten", -1, null, 0, Infragistics.Win.UltraWinGrid.SortIndicator.Descending, false);
            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab1 = new Infragistics.Win.UltraWinTabControl.UltraTab();
            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab2 = new Infragistics.Win.UltraWinTabControl.UltraTab();
            this.ultraTabPageControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
            this.UGDeleteSuccess = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.dsResult = new System.Data.DataSet();
            this.dtDeleteSuccess = new System.Data.DataTable();
            this.dataColumn2 = new System.Data.DataColumn();
            this.dtUnDelete = new System.Data.DataTable();
            this.dataColumn1 = new System.Data.DataColumn();
            this.ultraTabPageControl2 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
            this.UGUnDelete = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.btnDong = new Infragistics.Win.Misc.UltraButton();
            this.panel1 = new System.Windows.Forms.Panel();
            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraGridBagLayoutManager1 = new Infragistics.Win.Misc.UltraGridBagLayoutManager(this.components);
            this.panel2 = new System.Windows.Forms.Panel();
            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
            this.lblLuuY1 = new Infragistics.Win.Misc.UltraLabel();
            this.lblLuuY2 = new Infragistics.Win.Misc.UltraLabel();
            this.tabMain = new Infragistics.Win.UltraWinTabControl.UltraTabControl();
            this.ultraTabSharedControlsPage1 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
            this.ultraTabPageControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.UGDeleteSuccess)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsResult)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtDeleteSuccess)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtUnDelete)).BeginInit();
            this.ultraTabPageControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.UGUnDelete)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGridBagLayoutManager1)).BeginInit();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.tabMain)).BeginInit();
            this.tabMain.SuspendLayout();
            this.SuspendLayout();
            // 
            // ultraTabPageControl1
            // 
            this.ultraTabPageControl1.Controls.Add(this.UGDeleteSuccess);
            this.ultraTabPageControl1.Location = new System.Drawing.Point(2, 21);
            this.ultraTabPageControl1.Name = "ultraTabPageControl1";
            this.ultraTabPageControl1.Size = new System.Drawing.Size(484, 206);
            // 
            // UGDeleteSuccess
            // 
            this.UGDeleteSuccess.DataMember = "tb_DeleteSuccess";
            this.UGDeleteSuccess.DataSource = this.dsResult;
            appearance1.BackColor = System.Drawing.Color.White;
            appearance1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(234)))), ((int)(((byte)(253)))));
            appearance1.BackGradientStyle = Infragistics.Win.GradientStyle.ForwardDiagonal;
            this.UGDeleteSuccess.DisplayLayout.Appearance = appearance1;
            this.UGDeleteSuccess.DisplayLayout.AutoFitStyle = Infragistics.Win.UltraWinGrid.AutoFitStyle.ResizeAllColumns;
            appearance2.Image = ((object)(resources.GetObject("appearance2.Image")));
            ultraGridColumn1.CellAppearance = appearance2;
            ultraGridColumn1.Header.Caption = "Tên danh mục";
            ultraGridColumn1.Header.VisiblePosition = 0;
            ultraGridColumn1.Width = 465;
            ultraGridBand1.Columns.AddRange(new object[] {
            ultraGridColumn1});
            this.UGDeleteSuccess.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
            this.UGDeleteSuccess.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.None;
            appearance3.FontData.BoldAsString = "True";
            appearance3.TextHAlignAsString = "Left";
            appearance3.TextVAlignAsString = "Middle";
            this.UGDeleteSuccess.DisplayLayout.CaptionAppearance = appearance3;
            this.UGDeleteSuccess.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.UGDeleteSuccess.DisplayLayout.InterBandSpacing = 10;
            this.UGDeleteSuccess.DisplayLayout.Override.AllowDelete = Infragistics.Win.DefaultableBoolean.False;
            this.UGDeleteSuccess.DisplayLayout.Override.AllowGroupBy = Infragistics.Win.DefaultableBoolean.False;
            this.UGDeleteSuccess.DisplayLayout.Override.AllowUpdate = Infragistics.Win.DefaultableBoolean.False;
            appearance4.BackColor = System.Drawing.Color.Transparent;
            this.UGDeleteSuccess.DisplayLayout.Override.CardAreaAppearance = appearance4;
            this.UGDeleteSuccess.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect;
            appearance5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(234)))), ((int)(((byte)(253)))));
            appearance5.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(151)))), ((int)(((byte)(253)))));
            appearance5.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            appearance5.FontData.BoldAsString = "False";
            appearance5.FontData.Name = "Tahoma";
            appearance5.FontData.SizeInPoints = 8F;
            appearance5.ForeColor = System.Drawing.Color.Black;
            appearance5.ThemedElementAlpha = Infragistics.Win.Alpha.Transparent;
            this.UGDeleteSuccess.DisplayLayout.Override.HeaderAppearance = appearance5;
            this.UGDeleteSuccess.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            appearance6.BorderColor = System.Drawing.Color.DodgerBlue;
            this.UGDeleteSuccess.DisplayLayout.Override.RowAppearance = appearance6;
            appearance7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(234)))), ((int)(((byte)(253)))));
            appearance7.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(151)))), ((int)(((byte)(253)))));
            appearance7.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            this.UGDeleteSuccess.DisplayLayout.Override.RowSelectorAppearance = appearance7;
            this.UGDeleteSuccess.DisplayLayout.Override.RowSpacingBefore = 0;
            appearance8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(234)))), ((int)(((byte)(253)))));
            appearance8.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(151)))), ((int)(((byte)(253)))));
            appearance8.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            appearance8.ForeColor = System.Drawing.Color.Black;
            this.UGDeleteSuccess.DisplayLayout.Override.SelectedRowAppearance = appearance8;
            this.UGDeleteSuccess.DisplayLayout.RowConnectorColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(151)))), ((int)(((byte)(253)))));
            this.UGDeleteSuccess.DisplayLayout.RowConnectorStyle = Infragistics.Win.UltraWinGrid.RowConnectorStyle.None;
            this.UGDeleteSuccess.Dock = System.Windows.Forms.DockStyle.Fill;
            this.UGDeleteSuccess.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.UGDeleteSuccess.Location = new System.Drawing.Point(0, 0);
            this.UGDeleteSuccess.Name = "UGDeleteSuccess";
            this.UGDeleteSuccess.Size = new System.Drawing.Size(484, 206);
            this.UGDeleteSuccess.TabIndex = 0;
            // 
            // dsResult
            // 
            this.dsResult.DataSetName = "NewDataSet";
            this.dsResult.Locale = new System.Globalization.CultureInfo("en-US");
            this.dsResult.Tables.AddRange(new System.Data.DataTable[] {
            this.dtDeleteSuccess,
            this.dtUnDelete});
            // 
            // dtDeleteSuccess
            // 
            this.dtDeleteSuccess.Columns.AddRange(new System.Data.DataColumn[] {
            this.dataColumn2});
            this.dtDeleteSuccess.TableName = "tb_DeleteSuccess";
            // 
            // dataColumn2
            // 
            this.dataColumn2.ColumnName = "Ten";
            // 
            // dtUnDelete
            // 
            this.dtUnDelete.Columns.AddRange(new System.Data.DataColumn[] {
            this.dataColumn1});
            this.dtUnDelete.TableName = "tb_UnDelete";
            // 
            // dataColumn1
            // 
            this.dataColumn1.ColumnName = "Ten";
            // 
            // ultraTabPageControl2
            // 
            this.ultraTabPageControl2.Controls.Add(this.UGUnDelete);
            this.ultraTabPageControl2.Location = new System.Drawing.Point(-10000, -10000);
            this.ultraTabPageControl2.Name = "ultraTabPageControl2";
            this.ultraTabPageControl2.Size = new System.Drawing.Size(484, 206);
            // 
            // UGUnDelete
            // 
            this.UGUnDelete.DataMember = "tb_UnDelete";
            this.UGUnDelete.DataSource = this.dsResult;
            appearance9.BackColor = System.Drawing.Color.White;
            appearance9.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(234)))), ((int)(((byte)(253)))));
            appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.ForwardDiagonal;
            this.UGUnDelete.DisplayLayout.Appearance = appearance9;
            this.UGUnDelete.DisplayLayout.AutoFitStyle = Infragistics.Win.UltraWinGrid.AutoFitStyle.ResizeAllColumns;
            appearance10.Image = ((object)(resources.GetObject("appearance10.Image")));
            ultraGridColumn2.CellAppearance = appearance10;
            ultraGridColumn2.Header.Caption = "Tên danh mục";
            ultraGridColumn2.Header.VisiblePosition = 0;
            ultraGridColumn2.Width = 448;
            ultraGridBand2.Columns.AddRange(new object[] {
            ultraGridColumn2});
            this.UGUnDelete.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
            this.UGUnDelete.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.None;
            appearance11.FontData.BoldAsString = "True";
            appearance11.TextHAlignAsString = "Left";
            appearance11.TextVAlignAsString = "Middle";
            this.UGUnDelete.DisplayLayout.CaptionAppearance = appearance11;
            this.UGUnDelete.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.UGUnDelete.DisplayLayout.InterBandSpacing = 10;
            this.UGUnDelete.DisplayLayout.Override.AllowDelete = Infragistics.Win.DefaultableBoolean.False;
            this.UGUnDelete.DisplayLayout.Override.AllowGroupBy = Infragistics.Win.DefaultableBoolean.False;
            this.UGUnDelete.DisplayLayout.Override.AllowUpdate = Infragistics.Win.DefaultableBoolean.False;
            appearance12.BackColor = System.Drawing.Color.Transparent;
            this.UGUnDelete.DisplayLayout.Override.CardAreaAppearance = appearance12;
            this.UGUnDelete.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect;
            appearance13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(234)))), ((int)(((byte)(253)))));
            appearance13.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(151)))), ((int)(((byte)(253)))));
            appearance13.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            appearance13.FontData.BoldAsString = "False";
            appearance13.FontData.Name = "Tahoma";
            appearance13.FontData.SizeInPoints = 8F;
            appearance13.ForeColor = System.Drawing.Color.Black;
            appearance13.ThemedElementAlpha = Infragistics.Win.Alpha.Transparent;
            this.UGUnDelete.DisplayLayout.Override.HeaderAppearance = appearance13;
            this.UGUnDelete.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            appearance14.BorderColor = System.Drawing.Color.DodgerBlue;
            this.UGUnDelete.DisplayLayout.Override.RowAppearance = appearance14;
            appearance15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(234)))), ((int)(((byte)(253)))));
            appearance15.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(151)))), ((int)(((byte)(253)))));
            appearance15.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            this.UGUnDelete.DisplayLayout.Override.RowSelectorAppearance = appearance15;
            this.UGUnDelete.DisplayLayout.Override.RowSpacingBefore = 0;
            appearance16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(234)))), ((int)(((byte)(253)))));
            appearance16.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(151)))), ((int)(((byte)(253)))));
            appearance16.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            appearance16.ForeColor = System.Drawing.Color.Black;
            this.UGUnDelete.DisplayLayout.Override.SelectedRowAppearance = appearance16;
            this.UGUnDelete.DisplayLayout.RowConnectorColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(151)))), ((int)(((byte)(253)))));
            this.UGUnDelete.DisplayLayout.RowConnectorStyle = Infragistics.Win.UltraWinGrid.RowConnectorStyle.None;
            this.UGUnDelete.Dock = System.Windows.Forms.DockStyle.Fill;
            this.UGUnDelete.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.UGUnDelete.Location = new System.Drawing.Point(0, 0);
            this.UGUnDelete.Name = "UGUnDelete";
            this.UGUnDelete.Size = new System.Drawing.Size(484, 206);
            this.UGUnDelete.TabIndex = 1;
            // 
            // btnDong
            // 
            appearance17.Image = ((object)(resources.GetObject("appearance17.Image")));
            this.btnDong.Appearance = appearance17;
            this.btnDong.BackColorInternal = System.Drawing.SystemColors.Control;
            this.btnDong.DialogResult = System.Windows.Forms.DialogResult.Ignore;
            this.btnDong.Location = new System.Drawing.Point(206, 3);
            this.btnDong.Name = "btnDong";
            this.btnDong.Size = new System.Drawing.Size(75, 26);
            this.btnDong.TabIndex = 1;
            this.btnDong.Text = "Đóng";
            this.btnDong.Click += new System.EventHandler(this.btnDong_Click);
            // 
            // panel1
            // 
            this.panel1.BackColor = System.Drawing.Color.Gainsboro;
            this.panel1.Controls.Add(this.btnDong);
            this.panel1.Controls.Add(this.ultraLabel3);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel1.Location = new System.Drawing.Point(0, 269);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(488, 32);
            this.panel1.TabIndex = 2;
            // 
            // ultraLabel3
            // 
            appearance18.BackColor = System.Drawing.Color.White;
            appearance18.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            appearance18.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            this.ultraLabel3.Appearance = appearance18;
            this.ultraLabel3.BorderStyleInner = Infragistics.Win.UIElementBorderStyle.None;
            this.ultraLabel3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraLabel3.Location = new System.Drawing.Point(0, 0);
            this.ultraLabel3.Name = "ultraLabel3";
            this.ultraLabel3.Size = new System.Drawing.Size(488, 32);
            this.ultraLabel3.TabIndex = 0;
            // 
            // ultraGridBagLayoutManager1
            // 
            this.ultraGridBagLayoutManager1.ContainerControl = this.panel1;
            // 
            // panel2
            // 
            this.panel2.BackColor = System.Drawing.Color.White;
            this.panel2.Controls.Add(this.ultraLabel4);
            this.panel2.Controls.Add(this.lblLuuY1);
            this.panel2.Controls.Add(this.lblLuuY2);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel2.Location = new System.Drawing.Point(0, 229);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(488, 40);
            this.panel2.TabIndex = 4;
            // 
            // ultraLabel4
            // 
            appearance19.FontData.UnderlineAsString = "True";
            appearance19.ForeColor = System.Drawing.Color.Red;
            appearance19.Image = ((object)(resources.GetObject("appearance19.Image")));
            appearance19.ImageHAlign = Infragistics.Win.HAlign.Left;
            appearance19.ImageVAlign = Infragistics.Win.VAlign.Top;
            this.ultraLabel4.Appearance = appearance19;
            this.ultraLabel4.Location = new System.Drawing.Point(6, 8);
            this.ultraLabel4.Name = "ultraLabel4";
            this.ultraLabel4.Size = new System.Drawing.Size(51, 16);
            this.ultraLabel4.TabIndex = 2;
            this.ultraLabel4.Text = "Lưu ý:";
            // 
            // lblLuuY1
            // 
            this.lblLuuY1.Location = new System.Drawing.Point(61, 8);
            this.lblLuuY1.Name = "lblLuuY1";
            this.lblLuuY1.Size = new System.Drawing.Size(415, 16);
            this.lblLuuY1.TabIndex = 1;
            this.lblLuuY1.Text = "- Các dữ liệu xóa thành công đã được xóa trong cơ sở dữ liệu.";
            // 
            // lblLuuY2
            // 
            this.lblLuuY2.Location = new System.Drawing.Point(61, 23);
            this.lblLuuY2.Name = "lblLuuY2";
            this.lblLuuY2.Size = new System.Drawing.Size(428, 14);
            this.lblLuuY2.TabIndex = 1;
            this.lblLuuY2.Text = "- Các dữ liệu không xóa được do đã được sử dụng hoặc gặp lỗi trong quá trình xóa." +
                "";
            // 
            // tabMain
            // 
            appearance20.BackColor = System.Drawing.Color.White;
            appearance20.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(234)))), ((int)(((byte)(253)))));
            this.tabMain.Appearance = appearance20;
            appearance21.BackColor = System.Drawing.Color.White;
            appearance21.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(234)))), ((int)(((byte)(253)))));
            appearance21.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            this.tabMain.ClientAreaAppearance = appearance21;
            this.tabMain.Controls.Add(this.ultraTabSharedControlsPage1);
            this.tabMain.Controls.Add(this.ultraTabPageControl1);
            this.tabMain.Controls.Add(this.ultraTabPageControl2);
            this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabMain.Location = new System.Drawing.Point(0, 0);
            this.tabMain.Name = "tabMain";
            this.tabMain.SharedControlsPage = this.ultraTabSharedControlsPage1;
            this.tabMain.Size = new System.Drawing.Size(488, 229);
            this.tabMain.TabIndex = 5;
            ultraTab1.Key = "Deleted";
            ultraTab1.TabPage = this.ultraTabPageControl1;
            ultraTab1.Text = "Các danh mục đã xóa thành công";
            ultraTab2.Key = "UnDeleted";
            ultraTab2.TabPage = this.ultraTabPageControl2;
            ultraTab2.Text = "Các danh mục không thể xóa";
            this.tabMain.Tabs.AddRange(new Infragistics.Win.UltraWinTabControl.UltraTab[] {
            ultraTab1,
            ultraTab2});
            this.tabMain.ViewStyle = Infragistics.Win.UltraWinTabControl.ViewStyle.VisualStudio2005;
            // 
            // ultraTabSharedControlsPage1
            // 
            this.ultraTabSharedControlsPage1.Location = new System.Drawing.Point(-10000, -10000);
            this.ultraTabSharedControlsPage1.Name = "ultraTabSharedControlsPage1";
            this.ultraTabSharedControlsPage1.Size = new System.Drawing.Size(484, 206);
            // 
            // FrmDeleteResultDialog
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
            this.ClientSize = new System.Drawing.Size(488, 301);
            this.Controls.Add(this.tabMain);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.panel1);
            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "FrmDeleteResultDialog";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Thông báo kết quả xóa";
            this.Load += new System.EventHandler(this.FrmDeleteResultDialog_Load);
            this.ultraTabPageControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.UGDeleteSuccess)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsResult)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtDeleteSuccess)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtUnDelete)).EndInit();
            this.ultraTabPageControl2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.UGUnDelete)).EndInit();
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultraGridBagLayoutManager1)).EndInit();
            this.panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.tabMain)).EndInit();
            this.tabMain.ResumeLayout(false);
            this.ResumeLayout(false);

		}
		#endregion

		private void FrmDeleteResultDialog_Load(object sender, System.EventArgs e)
		{
			dtDeleteSuccess.Clear();
			dtUnDelete.Clear();
			for(int i=0;i<strDeleteSuccess.Length;i++)
			{
				if(strDeleteSuccess[i]!=null)
				{
					DataRow dr = dtDeleteSuccess.NewRow();
					dr["Ten"] = strDeleteSuccess[i].ToString();
					dtDeleteSuccess.Rows.Add(dr);
				}
			}
			for(int i=0;i<strUndelete.Length;i++)
			{
				if(strUndelete[i]!=null)
				{
					DataRow dr = dtUnDelete.NewRow();
					dr["Ten"] = strUndelete[i].ToString();
					dtUnDelete.Rows.Add(dr);
				}
			}
		}

		private void btnDong_Click(object sender, System.EventArgs e)
		{
            
			this.Close();
		}
        /// <summary>
        /// Thiết lập lại tiêu đề cho 2 tab
        /// </summary>
        /// <param name="tabUnDeleted"></param>
        /// <param name="tabDeleted"></param>
        public void setTabText(string tabUnDeleted, string tabDeleted)
        {
            ultraTabPageControl1.Tab.Text = tabDeleted;
            ultraTabPageControl2.Tab.Text = tabUnDeleted;            
        }
	}
}
